/**
 * Created by zhong on 2018/1/24.
 */
export const tools = {
  check(i,value){
    switch (i){
      //不为空
      case 0 : {
        if(value==='' && value.length<=0 ) return false
        else { return true}
        break;
      }
      //手机号
      case 1 : {
        if(value==='' && value.length<=0 ) return false
        else { return true}
        break;
      }
    }
  }
}
